import "babel-polyfill"
import Vue from 'vue'
import App from './APP'
import router from './router'
import "common/stylus/index.styl"
import fastclick from 'fastclick'
import VueLazyload from 'vue-lazyload'
import store from './store/'

// fastclick.attach(document.body)

Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: require('common/image/err.png'),
  attempt: 1,
  loading: require('common/image/loading.png')
})

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
